package com.powernode;

import com.powernode.dao.SysMenuDao;
import jakarta.annotation.Resource;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

import static org.junit.jupiter.api.Assertions.assertTrue;

@SpringBootTest
public class testSysMenuDao extends CommonTest{
    @Resource
    private SysMenuDao sysMenuDao;
    @Test
   public void testqueryPermissionByUserId() {
        List<String> menuList = sysMenuDao.queryPermissionByUserId(1);
        assertTrue(!menuList.isEmpty());
    }
}
